package com.example.building_material_mannager.mapper;

import com.example.building_material_mannager.entity.CollectionFlow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface CollectionFlowMapper {
    List<CollectionFlow> selectCollectionFlow(CollectionFlow collectionFlow);
    //此查询曾出错，原因：数据库cfcoid，及时间段出现相同,修改为List
    List<CollectionFlow> selectCollectionByCfcoid(@Param("cfcoid") Integer cfcoid,@Param("paymentDateStart")String paymentDateStart,@Param("paymentDateEnd") String paymentDateEnd);
}
